<!-- 废弃 -->
<!DOCTYPE html>
<html>

    <head>
        <meta charset="utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>簇商品维护</title>
        <link rel="stylesheet" href="css/reset.css" />
        <link rel="stylesheet" href="css/platform.css" />
        <link rel="stylesheet" href="css/table.css" />
        <link rel="stylesheet" href="js/magicsuggest-min.css" />
        <link rel="stylesheet" href="css/property.css" />
    </head>

    <body>
        <div class="header">
            <div class="u-title">簇商品维护</div>
        </div>
        <div class="cluster-manage" ms-controller="mainController">
            <div class="add">
                <button class="u-btn small" ms-click="addTask()">添加</button>
            </div>
            <div id="exptTable" ms-controller="exptTable"></div>
            <script type="avalon" id="tableSaleExpt">
                <div class="tableWrapper">
                    <table class="table">
                        <thead>
                            <tr>
                                <th>商品</th>
                                <th>商品编码</th>
                                <th>商品名称</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr ms-repeat-row="sources">
                                <td>
                                    <img ms-attr-src="customFuncs.getUrl(row.commCode)" />
                                </td>
                                <td>{{row.commCode}}</td>
                                <td>{{row.commName}}</td>
                                <td class="operate">
                                    <a ms-if="commCode != row.commCode" href="javascript:;" ms-click="customFuncs.delPop(row)">删除</a>
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="4">
                                    <div class="pager">
                                        <div class="first-page" ms-click="firstpage" ms-class={{firstpagestyle}}>首页</div>
                                        <div class="pre-page" ms-click="prepage" ms-class={{prepagestyle}}>上一页</div>
                                        <div class="current-page">
                                            第<input class="current-page-num" type="text" ms-duplex="currentpage" ms-input="jumppage" />页
                                            <span class="totalpage">共 {{totalpage}} 页</span>
                                        </div>
                                        <div class="next-page" ms-click="nextpage" ms-class={{nextpagestyle}}>下一页</div>
                                        <div class="last-page" ms-click="lastpage" ms-class={{lastpagestyle}}>尾页</div>
                                        <div class="messageinfo">{{startrow}}-{{endrow}} 共{{total}}条</div>
                                    </div>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </script>
            <div class="return">
                <button class="u-btn gray" ms-click="returnPage()">返回</button>                
            </div>
        </div>
        <div class="loadData"></div>
        <!--弹框区域-->
        <div ms-controller="popController">
            <div class="u-popup" id="popup_confirm">
                <div class="bg"></div>
                <div class="asTable">
                    <div class="asTableCell">
                        <div class="asCell alert">
                            <a href="javascript:;" class="close btn-close">×</a>
                            <p class="title">提示</p>
                            <div class="container">
                                <div class="warning"></div>
                                <p ms-if="confirmType=='del'">确定要删除该商品吗？</p>
                            </div>
                            <div class="btn-box">
                                <button class="u-btn" ms-click="confirmSure()">确定</button>
                                <button class="u-btn gray btn-close">取消</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="u-popup" id="popup_tips">
                <div class="bg"></div>
                <div class="asTable">
                    <div class="asTableCell">
                        <div class="asCell alert">
                            <a href="javascript:;" class="close btn-close">×</a>
                            <p class="title">提示</p>
                            <div class="container">
                                <div class="error"></div>
                                <p></p>
                            </div>
                            <div class="btn-box">
                                <button class="u-btn btn-close">确定</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="js/jquery.min.js"></script>
        <script src="js/avalon.shim.sn.js"></script>
        <script src="js/swift-ui-table-1.1.js"></script>
        <script src="js/magicsuggest-min.js"></script>
        <script src="js/platform.js"></script>
        <script src="js/DataInterface/DataInterface.js"></script>
        <script src="js/cluster-maintain.js"></script>
    </body>

</html>